home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Filing / c / SingleFull < prev   
Text File  |  1995-06-06  |  1KB  |  32 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Filing.SingleFull.c
  12.     Author:  Copyright © 1994, 1995 Sergio Monesi
  13.     Version: 1.01 (6 Jun 1995)
  14.     Purpose: Reads a single directory entry (full info version)
  15.     Mods:    6 June 1995 - changed procedure names to a more
  16.                            DeskLib-compliant style
  17. */
  18.  
  19. #include "DeskLib:Core.h"
  20. #include "DeskLib:Filing.h"
  21.  
  22. os_error *Filing_SingleFullDirEntry(char *filename, filing_fulldirentry *buf, int size)
  23. {
  24.  char pathname[256];
  25.  char *leafname;
  26.  
  27.  Filing_GetPathname(filename,pathname);
  28.  leafname=Filing_FindLeafname(filename);
  29.  
  30.  return Filing_SingleFullDirEntry2(pathname,buf,size,leafname);
  31. }
  32.